#pragma once

#include "event.h"
#include "vector"

namespace Lab1
{
    class DataBEvent
            : public Event
    {
    public:
        ~DataBEvent();
        explicit DataBEvent( std::vector < int > array );
        eType getType() const;
        eSource getSource() const;
        std::vector < int > getData() const;

    private:
         std::vector < int > data;
    };
}
